package cn.jc.application.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 题目分类
 * </p>
 *
 * @author testjava
 * @since 2024-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SubjectCategory对象", description="题目分类")
public class SubjectCategoryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "分类类型")
    private Integer categoryType;

    @ApiModelProperty(value = "图标连接")
    private String imageUrl;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

}
